projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8208140
)
mx6q: mx6qsabrelite: setup_spi() should be called in board_init to allow use for...
author
Eric Nelson
<
[email protected]
>
Sun, 26 Feb 2012 12:03:15 +0000
(12:03 +0000)
committer
Stefano Babic
<
[email protected]
>
Tue, 27 Mar 2012 07:41:15 +0000
(09:41 +0200)
Signed-off-by: Eric Nelson <
[email protected]
>
board/freescale/mx6qsabrelite/mx6qsabrelite.c
patch
|
blob
|
history
diff --git
a/board/freescale/mx6qsabrelite/mx6qsabrelite.c
b/board/freescale/mx6qsabrelite/mx6qsabrelite.c
index db1bea9830640fe75ea18103090b6896977aebb0..7fe2dc99cb0ced1471b3c1c9b3f88b0220443a75 100644
(file)
--- a/
board/freescale/mx6qsabrelite/mx6qsabrelite.c
+++ b/
board/freescale/mx6qsabrelite/mx6qsabrelite.c
@@
-259,10
+259,6
@@
int board_eth_init(bd_t *bis)
if (ret)
printf("FEC MXC: %s:failed\n", __func__);
-#ifdef CONFIG_MXC_SPI
- setup_spi();
-#endif
-
return 0;
}
@@
-278,6
+274,10
@@
int board_init(void)
/* address of boot parameters */
gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
+#ifdef CONFIG_MXC_SPI
+ setup_spi();
+#endif
+
return 0;
}